package com.luckmgr.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.common.dao.IBaseDao;
import com.common.dao.MyBatisRepository;
import com.luckmgr.entity.db.CountUser;
import com.luckmgr.entity.db.LuckUser;

@MyBatisRepository
public interface LuckUserMapper extends IBaseDao<LuckUser> {
	
	public void insertAll(List<LuckUser> list);
	
	public void deleteAll(@Param("aid")Integer aid,@Param("list")List<LuckUser> list);
	
	public void deleteByLevel(@Param("lid")Integer lid);
	
	public void updateBlackUser(@Param("aid")Integer aid,@Param("users")String[] arrayUsers);
	
	public List<CountUser> selectCountUser(@Param("aid")Integer aid);
}